﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PP.PPPoker
{
    /// <summary>
    /// TableDefine 桌子相关的定义
    /// 包括 FromLua: GameTbConfig.lua
    /// </summary>
    public class TableDefine
    {
        public const int InvalidTableId = -1;

        // 两人桌
        public const int HEADS_UP_SEAT_NUM = 2;
    }

    public class TB_POS_COUNT
    {
        public const int POS_TWO = 2;
        public const int POS_THREE = 3;
        public const int POS_FOUR = 4;
        public const int POS_FIVE = 5;
        public const int POS_SIX = 6;
        public const int POS_SEVEN = 7;
        public const int POS_EIGHT = 8;
        public const int POS_NINE = 9;
    }

    public enum TB_POS_SELECTED
    {
        POS_TWO = 1,
        POS_SIX = 2,
        POS_NINE = 3,
    }

    public enum TB_POS_SELECTED_SNG_MTT
    {
        POS_SIX = 1,
        POS_NINE = 2,
    }

    public enum PINEAPPLE_POS_COUNT
    {
        POS_TWO = 2,
        POS_THREE = 3,
    }

    public enum TB_POS_SELECTED_PINEAPPLE
    {
        POS_TWO = 1,
        POS_THREE = 2,
    }

    public enum GameSetStatus
    {
        GAME_SET_PLAY_STATUS_NONE = 0, // 没有开始牌局

        GAME_SET_PLAY_STATUS_PLAYING = 1, // 开始玩牌

        GAME_SET_PLAY_STATUS_FINISH = 100, // 牌局结束
    }
}
